from tqdm import tqdm

f=open('c.c','w',encoding='utf-8')
f.write('#include<stdio.h>\nint main(){\n\tint a;\n\tscanf("%d",&a);\n\tif(i==0)\n\t\tprintf("该数是偶数");')
for i in tqdm(range(1,1000000)):
    f.write("\n\telse if(a=={})".format(i))
    f.write('\n\t\tprintf("该数是'+("奇数" if i%2 else "偶数")+'");')
f.write("\n\t}")
f.close()